﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace database
{
    public partial class Control_ShopStaff : UserControl
    {
        public Control_ShopStaff()
        {
            InitializeComponent();
        }

        private void label1_Click(object sender, EventArgs e)
        {

        }

        private void Control_ShopHM_Load(object sender, EventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.MainPanel.Controls.Clear();
            Control_ShopStaff_add ssa = new Control_ShopStaff_add();
            ssa.Show();
            this.MainPanel.Controls.Add(ssa);
        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.MainPanel.Controls.Clear();
            Control_ShopStaff_modify ssm = new Control_ShopStaff_modify();
            ssm.Show();
            this.MainPanel.Controls.Add(ssm);
        }

        private void button3_Click(object sender, EventArgs e)
        {
            this.MainPanel.Controls.Clear();
            Control_ShopStaff_delete ssd = new Control_ShopStaff_delete();
            ssd.Show();
            this.MainPanel.Controls.Add(ssd);
        }

        private void button4_Click(object sender, EventArgs e)
        {
            this.MainPanel.Controls.Clear();
            Control_ShopStaff_search sss = new Control_ShopStaff_search();
            sss.Show();
            this.MainPanel.Controls.Add(sss);
        }

        private void MainPanel_Paint(object sender, PaintEventArgs e)
        {

        }
    }
}
